// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import Vue from 'vue'
import App from './security/App'
import router from './security/router'
import { store, initState} from './security/store'

console.log( window.WebVideoCtrl );
window.bufang_graded_colors = [
"#95C9FA",
"#3189D6",
"#00498D"
];
window.chefang_graded_colors = [
"#FFDCB4",
"#FF9335",
"#FF572B"
];

/* eslint-disable no-new */
import bus from './security/bus'
window.videoBus = bus;

initState().then(function(){
    new Vue({
      el: '#app',
      router,
      store,
      template: '<App/>',
      components: { App }
    })
})
